package test.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import test.module.User;
import test.service.UserService;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : example
 * @ Author: XuLeHuang
 * @ Date: 2022/10/5 18:28
 * @ Description:
 */
@RestController
public class ThirdPartyFrameworksController {
    @Autowired
    private UserService userServic;
    @RequestMapping("/selectAllUser")
    public List<User> selectAllUser() {
        return userServic.selectAllWithMaster();
    }
}
